<div class="inside">
  <aside class="navigationPanel">
     
     <div class="tree pagesLinks">
        <ul>
           <ul>
              <li> <a href="<?php echo $baseurl.'campaign/dia-diem.html'?>" class="active"><i class="fa fa-star"></i> Địa điểm</a> </li>
			   <li> <a href="<?php echo $baseurl.'campaign/modem.html'?>"><i class="fa fa-star"></i> Danh sách modem</a> </li>
              <li> <a href="<?php echo $baseurl.'campaign/tat-ca.html'?>"><i class="fa fa-star"></i> Tất cả chiến dịch</a> </li>
              <li> <a href="<?php echo $baseurl.'campaign/cho-duyet.html'?>"><i class="fa fa-star"></i> Chiến dịch chờ duyệt</a> </li>
              <li> <a href="<?php echo $baseurl.'campaign/dang-chay.html'?>"><i class="fa fa-star"></i> Chiến dịch đang chạy</a> </li>
			  <li> <a href="<?php echo $baseurl.'campaign/dang-tam-dung.html'?>"><i class="fa fa-star"></i> Chiến dịch đang tạm dừng</a> </li>
			  <li> <a href="<?php echo $baseurl.'campaign/da-huy.html'?>"><i class="fa fa-star"></i> Chiến dịch đã hủy</a> </li>
           </ul>
        </ul>
     </div>
  </aside>
  <div class="contentPanel">
     <div class="pages" id="profile">
        <div class="profile-edit-form">
              <div class="contentBox switcher" style="height: 100%;">
                 <h3>Danh sách địa điểm</h3>
					<a href="<?php echo $baseurl.'campaign/them-dia-diem.html'; ?>"><button class="btn btn-info"><i class="fa fa-plus"></i><span>THÊM ĐỊA ĐIỂM</span></button></a>
                    <div class="insideContentBox">
                          <div class="wicity">
                    			<table >
                                            <thead>
                                                <tr> 
                    					<td style="width: 7%;">
                    						STT
                    					</td>
                    					<td >
                    						Tên địa điểm
                    					</td>
                                        <td >
                    						Địa chỉ
                    					</td>
                                        <td style="width: 15%;">
                    						Số chiến dịch
                    					</td>
                                        
                                        <td style="width: 16%;" colspan="2">
                    						Tác vụ
                    					</td>
                    				</tr>
                                            </thead>
                                            <tbody>
                                                <?php if ( $page == 0 ){ $page = 1;} 
                                                    $stt= $per_page*($page - 1) +1;
                                                    //echo $stt; ?>
                                                <?php if(!in_array($data, array(null, '', '0'))):?>
                                    <?php $i = 1; foreach($data AS $el=>$le):?>
                                    <tr> 
                    					<td style="text-align: center;">
                    						<?php echo $stt;?>
                    					</td>
                    					<td >
                    						<?php echo $le->shopName;?>
                    					</td>
                                        <td >
                    						<?php echo $le->address;?>
                    					</td>
                    					<td style="text-align: center;">
                    						<?php echo $le->num;?>
                    					</td>
                                        
                                        <td style="text-align: center;">
											<a href="<?php echo $baseurl.'campaign/sua-dia-diem/'.$le->ssid?>.html">Sửa</a>
                    					</td>
										<td style="text-align: center;">
                    						<a href="<?php echo $baseurl.'campaign/dia-diem.html?place_id='.$le->ssid?>">Chi tiết</a>
                    					</td>
                    				</tr>
                                    <?php $stt++; endforeach;?>
                                                <?php else:?>
                                        <tr> 
                                            <td colspan="7">
                        						Không tìm thấy nội dung.
                        					</td>
                        				</tr>
                                    <?php endif;?>
                                            </tbody>
                                    
                    			</table>
                    		</div>
                            <div class="pagination">
                                <?php echo $this->pagination->create_links();?> 
                            </div> 
                    </div>
              </div>
        </div>
     </div>
  </div>
</div> 
<style>
body.flash-permanent .contentPanel {
    padding: 100px 0px 18px !important;
}
.admin .contentBox .insideContentBox {
background: white;
padding: 26px 0px !important;
}
</style>